package zju.ccnt.rest.repository;

import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;
import zju.ccnt.rest.domain.RankList;
import zju.ccnt.rest.service.util.constant.RankListType;

/**
 * Created by zha on 14/11/20.
 */
@Repository
public interface RankListRepository extends PagingAndSortingRepository<RankList, String> {
    public RankList findByBusinessIdAndNameAndType(String businessId, String name, RankListType type);
}
